package com.dubbo.rpc.domain;

/**
 * 统一的 请求-响应 封装, 使用 protostuff 序列化
 *
 * @author liuxin
 * @date 2021/10/9 23:31
 */
public class RpcRequest {

    private String requestId;

    private String interfaceName;

    private String methodName;

    private Class<?>[] paramsTypeArr;

    private Object[] paramsValArr;


    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamsTypeArr() {
        return paramsTypeArr;
    }

    public void setParamsTypeArr(Class<?>[] paramsTypeArr) {
        this.paramsTypeArr = paramsTypeArr;
    }

    public Object[] getParamsValArr() {
        return paramsValArr;
    }

    public void setParamsValArr(Object[] paramsValArr) {
        this.paramsValArr = paramsValArr;
    }
}
